//
//  SelectCarTypeView.h
//  AutoHome
//
//  Created by wqh on 15-5-13.
//  Copyright (c) 2015年 Wqh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CarSystemModel.h"
#import "CarTypeModel.h"

//实现界面跳转的block
typedef void (^JumpPageBlockType)(UIViewController *);
typedef void (^HiddeTabBarBlockType) (void);

typedef void (^kCloseViewBlockType) (void);

@interface SelectCarTypeView : UIView<UITableViewDataSource,UITableViewDelegate>

@property (strong, nonatomic) IBOutlet UIImageView *imgView;
@property (strong, nonatomic) IBOutlet UILabel *seirseNameLabel;
@property (strong, nonatomic) IBOutlet UILabel *priceLabel;
@property (strong, nonatomic) IBOutlet UITableView *tableView;

@property (nonatomic) CarSystemModel *carSystemModel;
@property (nonatomic) CarTypeModel *carTypeModel;
@property (nonatomic) NSMutableArray *dataArr;
@property (nonatomic) NSMutableArray *sectionTitleArr;
/**
 *  定义一个block用来页面跳转
 */
@property (nonatomic,copy) JumpPageBlockType myJumpPageBlock;

@property (nonatomic,copy) kCloseViewBlockType myCloseViewBlock;

- (IBAction)closeBtnClick:(UIButton *)sender;


@end
